package com.aioz.security.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 *
 * </p>
 *
 * @author Aioz
 * @since 2022-10-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sys_company_info")
public class CompanyInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 企业名称
     */
    private String name;

    /**
     * 法定代表人
     */
    private String legal;

    /**
     * 企业类型
     */
    private String category;

    /**
     * 经营状态
     */
    private String status;

    /**
     * 注册资本
     */
    @TableField("registeredCapital")
    private String registeredcapital;

    /**
     * 成立时间
     */
    @TableField("createData")
    private LocalDateTime createdata;

    /**
     * 注册地址
     */
    private String location;

    /**
     * 统一社会信用代码
     */
    private String socialCreditCode;

    /**
     * 企业ID
     */
    private Integer companyId;

}
